<template>
    <div>
        <h2>列表页</h2>
        <button @click="$router.replace('/detail')">replace跳转到详情页</button>
        <button @click="$router.push('/detail?id=100&name=limin')">push跳转到详情页</button>
        <button @click="$router.back()">返回</button>
    </div>
</template>
